home *** CD-ROM | disk | FTP | other *** search
- 696c696
- < /* mlerase(); do we really need this? */
- ---
- > mlerase();
- 1027,1028c1027
- < char tline[NLINE]; /* buffer for part of mode line */
- < char time[6]; /* to hold current time */
- ---
- > char tline[NLINE]; /* buffer for part of mode line */
- 1089,1103d1087
- < /* display the time on the bottom most modeline if active */
- < if (timeflag && wp->w_wndp == (WINDOW *)NULL) {
- <
- < /* get the current time/date string */
- < getdtime(time);
- < if (strcmp(time, "") != 0) {
- <
- < /* append the hour/min string */
- < strcat(tline, "[");
- < strcat(tline, time);
- < strcat(tline, "] ");
- < strcpy(lasttime, time);
- < }
- < }
- <
- 1183,1200d1166
- < }
- <
- < PASCAL NEAR getdtime(ts) /* get the current display time string */
- <
- < char *ts;
- <
- < {
- < char buf[80];
- <
- < strcpy(buf, timeset());
- < if (strcmp(buf, errorm) == 0) {
- < *ts = 0;
- < return;
- < }
- <
- < buf[16] = 0;
- < strcpy(ts, &buf[11]);
- < return;
-